<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Classes_model extends CI_Model {

    function __construct() {
        parent::__construct();
    }

    function get_by_teacher($teacher_id) {
        return $this->db->get('classes')->result();
    }
}